#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PYTHONPATH=${DIR}/../../../../:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../../slim:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../:${PYTHONPATH}

DATA=/home/admins/data/people/highdensity
TRAIN_STEP=73205

#echo "predicting all ......"
#python3 ${DIR}/predict.py \
#--image-root ${DATA}/val \
#--model-dir ${DATA}/model_mtl/old/export/${TRAIN_STEP} \
#--output-root ${DATA}
#
#MIN=12
#echo "predicting > ${MIN} ......"
#python3 ${DIR}/predict.py \
#--image-root ${DATA}/val \
#--model-dir ${DATA}/model_mtl/old/export/${TRAIN_STEP} \
#--output-root ${DATA} \
#--min ${MIN}

#MAX=12
#echo "predicting < ${MAX} ......"
#python3 ${DIR}/predict.py \
#--image-root ${DATA}/val \
#--model-dir ${DATA}/model_mtl/old/export/${TRAIN_STEP} \
#--output-root ${DATA} \
#--max ${MAX}

echo "predicting other scene ......"
python3 predict_large_images.py \
--image-root ${DATA}/testimage \
--prefix "mtl_all" \
--output-root ${DATA}/testimage/result \
--model-dir ${DATA}/model_mtl/old/export/${TRAIN_STEP} \
--scale 0.7